Repository navigation
routing: keep picked routes alive, one CH search, warm router - #39
Merged
Merged
Conversation
- A recent picked on the Search screen set the query to its title; the debounced search for it then cancelled the route on the one worker and the route was never published. No search once a destination is picked (NavigationModel::search_wanted). - CH seeds every start/end snap candidate into one bidirectional search (was up to 16 pair searches plus a rerun over the paged sidecar) and checks the route's cancellation while it runs. - Both ends on one CH node: A* directly instead of HH (49 s for a long route over all of Ukraine on the bench); a cancelled route stops the fallback chain. - The routing maps (10 s to open for Ukraine) open on a background thread at priority 9 once the worker starts: when a place card or another screen opens, or 30 s after start-up. The worker itself runs at 10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes laggy / missing routes in destination search.
NavigationModel::search_wanted), host test added.Tested:
make test(34/34),make(QNX, ELF checks), deployed to bench unit M9304002366 slot b and routed once from the UI.Open: on one short Kyiv pair CH returns 2.55 km while HH and A* return 9.2 km; needs a separate look.
🤖 Generated with Claude Code